package top.lshaci.learning.rpc.consumer;


import top.lshaci.learning.rpc.service.BatterCakeService;

public class RpcTest {

    public static void main(String[] args) {
        BatterCakeService batterCakeService = RpcConsumer.getService(BatterCakeService.class, "127.0.0.1", 20006);
        String result = batterCakeService.sellBatterCake("杂粮");
        System.out.println(result);
    }
}
